package com.taskScheduler.task;

import java.util.Date;

public class PeriodicTaskInfo {
	private final String srcIp;
	private final String srcPort;
	private final String srcFileName;
	private final String dstIp;
	private final String dstPort;
	private final Date excutedTime;
	private final long periodic_ms;

	public PeriodicTaskInfo(String srcIp, String srcPort, String srcFileName,
			String dstIp, String dstPort, Date excutedTime, long periodic_ms) {
		this.srcIp = srcIp;
		this.srcPort = srcPort;
		this.srcFileName = srcFileName;
		this.dstIp = dstIp;
		this.dstPort = dstPort;
		this.excutedTime = excutedTime;
		this.periodic_ms = periodic_ms;
	}

	public String getSrcIp() {
		return srcIp;
	}

	public String getSrcPort() {
		return srcPort;
	}

	public String getSrcFileName() {
		return srcFileName;
	}

	public String getDstIp() {
		return dstIp;
	}

	public String getDstPort() {
		return dstPort;
	}

	public Date getExcutedTime() {
		return excutedTime;
	}

	public long getPeriodic_ms() {
		return periodic_ms;
	}

	public String toString() {
		return "[ PeriodicTaskInfo: srcIp = " + srcIp + ", srcPort = "
				+ srcPort + ", " + "srcFileName = " + srcFileName
				+ ", dstIp = " + dstIp + ", dstPort = " + dstPort
				+ ", excutedTime = " + excutedTime + ", periodic_ms = "
				+ periodic_ms + " ]";
	}
}